<script setup>

import MainTop from "@/components/MainTop.vue";
</script>

<template>
  <div class="top">
    <MainTop></MainTop>
  </div>
  <div class="menu">
      <router-link to="/MainFrame/financialAdd">添加日常收支</router-link>
  </div>
  <div class="copyright">
    版权所有：瀚岳科技、北京数科
  </div>
  <div class="container">
    <router-view></router-view>
  </div>
</template>

<style scoped>
.top {
  width: 100%;
  background: #237fff;
  height: 50px;
  line-height: 50px;
  color: #fff;
  letter-spacing: 2px;
}

.menu {
  width: 300px;
  height: calc(100% - 50px);
  background: #474747;

}

.copyright {
  text-align: center;
  font-family: 宋体;
  font-size: 9pt;
  line-height: 20px;
  color: #000;
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(100% - 300px);
  height: 20px;
}

.container {
  text-align: left;
  background: #fff;
  position: absolute;
  top: 50px;
  height: calc(100% - 50px - 20px);
  right: 0;
  width: calc(100% - 300px);
}
</style>